package com.destin.basic.constans;

/**
 * @author: Destin
 * @date: 2022-02-23
 */
public class RedisKey {

    /**
     * 登陆验证码
     *
     * @param uuid
     * @return
     */
    public static String getLoginImgCodeKey(String uuid) {
        return "login:validateCode:" + uuid;
    }

    /**
     * 登录用户token信息
     * @param userId
     * @return
     */
    public static String getLoginUserKey(String userId) {
        return "login:user:" + userId;
    }
}
